$white: #fff;
$black: #020201;
$theme: #291600;
$theme-light: #ac7f58;
$font_size: 12px;
$nav_h: 44px;
$device_h: 100vh;
$device_w: 100vw;
$view_w: 20rem;
$base_index: 1;
.main_page.ng-hide {
  transition: opacity .5s ease-out;
  -webkit-transition: opacity .5s ease-out;
}

globalloading {
  .mask {
    position: fixed;
    z-index: 2038;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: $black;
    opacity: .3;
  }
  .progress {
    position: fixed;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
    top: 50%;
    z-index: 2048;
    width: 20%;
    left: 40%;
    text-align: center;
    border: 1px solid $theme-light;
    &.unvisiable {
      //opacity: 0;
      transform: scale(0);
      -webkit-transform: scale(0);
    }
    &.visiable {
      //opacity: 1;
      transform: scale(1);
      -webkit-transform: scale(1);
    }
  }
}

.fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 1;
}

.fade.ng-enter,
.fade.ng-leave {
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.fade.ng-enter {
  opacity: 0;
}

.fade.ng-enter-active {
  opacity: 1;
}

.fade.ng-leave {
  opacity: 1;
}

.fade.ng-leave-active {
  opacity: 0;
}